﻿using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;

namespace Zeus.Mvc.ConsoleHost.Test
{
    class Startup
    {
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddMvcCore().AddZeus((zeusMvcOptionsBuilder) =>
                {
                zeusMvcOptionsBuilder.TypeOfIHttpContextLogger = typeof(Logger);
            });
        }

        public void Configure(IApplicationBuilder app)
        {
            app.UseZeus();
            app.UseMvc();
        }
    }
}
